package com.smartao.base.role;

import java.util.List;

import com.smartao.core.dao.BaseDao;

public interface RoleDao extends BaseDao<Role, Long> {

	Role findByRoleKey(String roleKey);

	List<Role> findByRoleType(Long selectitemId);

	Role findRoleAndUser(Long roleId);
	
	void addUserToRole(Long roleId, Long[] employeeIds);
}
